﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security;

namespace Hydra.Shell.Implementations
{
    public class WeakReference<T>
    {
        private WeakReference realWeakReference;

        public WeakReference(T target)
        {
            realWeakReference = new WeakReference(target);
        }

        public T Object
        {
            get
            {
                return (T)realWeakReference.Target;
            }
        }
    }
}
